package com.itheima.oop.d4_encapsulation;

public class Student {
    String name;
    double score;

   public Student() {

   }

    public Student(String name, double score) {
        this.name = name;
        this.score = score;
    }

    public void printStudent(){
        System.out.println("Name: " + name);
        System.out.println("Score: " + score);
    }
}
